package com.ms.service.module.fish.message.server;

import java.nio.ByteBuffer;

import com.ms.service.module.fish.game.FishGame;
import com.ms.service.module.fish.message.FishBaseMessage;

/**
 * 剧本开始205
 * @author cuiwm
 */
public class NextStagMessage extends FishBaseMessage {
	
	private FishGame fishGame;
    
    public NextStagMessage(FishGame fishGame) {
    	this.setFishGame(fishGame);
	}

	public FishGame getFishGame() {
		return fishGame;
	}

	public void setFishGame(FishGame fishGame) {
		this.fishGame = fishGame;
	}

	@Override
	public void writeBody(ByteBuffer buf) {
		buf.putInt(fishGame.getStagId());
//		buf.writeInt(fishGame.getTimes());
		buf.putLong(fishGame.getStartTime());
		
	}


}